package com.dao.impl;

import org.mybatis.spring.support.SqlSessionDaoSupport;

import com.idao.IUserDAO;
import com.pojo.User;

public class UserDAOImpl extends SqlSessionDaoSupport implements IUserDAO {

	@Override
	public User findUserById(int id) {
		return this.getSqlSession().selectOne("findUserById",id);
	}

}
